import Vue from 'vue';
import App from './App.vue';
import store from './store/index';
// import { isMobile } from './untils/index';
import Base from './tools/modal/index';
import vconsole from 'vconsole';
import Framework7 from "framework7/framework7.esm.bundle.js";

// Import F7 Vue Plugin
import Framework7Vue from "framework7-vue/framework7-vue.esm.bundle.js";

// import F7 CSS
import "framework7/css/framework7.bundle.min.css";
import './style/main.less';
import 'framework7-icons';
Framework7.use(Framework7Vue);
Vue.config.productionTip = false;
new vconsole();

new Vue({
  mounted() {
    this.$f7ready(f7 => {
      f7.statusbar.show();
      window.f7 = f7;
      Vue.use(Base);
    });
  },
  store,
  render: h => h(App),

}).$mount('#app')

